package com.itheima.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.ydd.entity.YddArticle;
import com.itheima.ydd.entity.YddCate;
import com.itheima.ydd.entity.YddUser;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class BaseInfoDto implements Serializable {

    @JsonProperty("all_cate")
    private List<YddCateDto> allCate;

    @JsonProperty("advpos_num")
    private Integer advposNum;

    @JsonProperty("tag_num")
    private Integer tagNum;

    @JsonProperty("admin_num")
    private Integer adminNum;

    @JsonProperty("article_num")
    private Integer articleNum;

    @JsonProperty("cate_num")
    private Integer cateNum;

    @JsonProperty("advimg_num")
    private Integer advimgNum;

    @JsonProperty("new_user")
    private List<YddUser> yddUserList;

    @JsonProperty("hot_article")
    private List<YddArticle> articleList;

    @JsonProperty("user")
    private UserDto user;


}